import {
    createApp
} from 'vue'
import App from './App.vue'
//import ElementPlus from 'element-plus'
import vant from 'vant'
//import 'element-plus/dist/index.css'
import axios from "axios";
import 'vant/lib/index.css';
axios.defaults.baseURL = '/api';
//挂载在原型上，所有组件都能引用
const app = createApp(App)
app.config.globalProperties.$http = axios

app.use(vant).mount('#app') //.use(ElementPlus, { size: 'small', zIndex: 3000 })